Unity 3D Not working where as Unity 2D works fine [closed]

Posted by Stephen Martin on Ask Ubuntu See other posts from Ask Ubuntu or by Stephen Martin
Published on 2012-04-04T12:58:53Z Indexed on 2012/04/12 11:43 UTC
Read the original article Hit count: 1220

Filed under:
|
|

I updated from 11.10 to 12.04 using the distribution upgrade, after that I couldn't log into using the Unity 3D desktop after logging in I would either never get unity's launcher or I would get the launcher and once I tried to do anything the windows lost their decoration and nothing would respond.

If I use Unity 2D it works fine and in fact I'm using it to type this.

I managed to get some info out of dmesg that looks like it's the route of whats happening.

dmesg:

[  109.160165] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
[  109.160180] [drm] capturing error event; look for more information in /debug/dri/0/i915_error_state
[  109.167587] [drm:i915_wait_request] *ERROR* i915_wait_request returns -11 (awaiting 1226 at 1218, next 1227)
[  109.672273] [drm:i915_reset] *ERROR* Failed to reset chip.

output of lspci | grep vga

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

output of /usr/lib/nux/unity_support_test -p IN 12.04

OpenGL vendor string:   VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 0x300)
OpenGL version string:  2.1 Mesa 8.0.2

Not software rendered:    no
Not blacklisted:          yes
GLX fbconfig:             yes
GLX texture from pixmap:  yes
GL npot or rect textures: yes
GL vertex program:        yes
GL fragment program:      yes
GL vertex buffer object:  yes
GL framebuffer object:    yes
GL version is 1.4+:       yes

Unity 3D supported:       no

The same command in 11.10:

stephenm@mcr-ubu1:~$ /usr/lib/nux/unity_support_test -p
OpenGL vendor string:   Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset 
OpenGL version string:  2.1 Mesa 7.11

Not software rendered:    yes
Not blacklisted:          yes
GLX fbconfig:             yes
GLX texture from pixmap:  yes
GL npot or rect textures: yes
GL vertex program:        yes
GL fragment program:      yes
GL vertex buffer object:  yes
GL framebuffer object:    yes
GL version is 1.4+:       yes

Unity 3D supported:       yes
stephenm@mcr-ubu1:~$ 

output of /var/log/Xorg.0.log

[    11.971] (II) intel(0): EDID vendor "LPL", prod id 307
[    11.971] (II) intel(0): Printing DDC gathered Modelines:
[    11.971] (II) intel(0): Modeline "1280x800"x0.0   69.30  1280 1328 1360 1405  800 803 809 822 -hsync -vsync (49.3 kHz)
[    12.770] (II) intel(0): Allocated new frame buffer 2176x800 stride 8704, tiled
[    15.087] (II) intel(0): EDID vendor "LPL", prod id 307
[    15.087] (II) intel(0): Printing DDC gathered Modelines:
[    15.087] (II) intel(0): Modeline "1280x800"x0.0   69.30  1280 1328 1360 1405  800 803 809 822 -hsync -vsync (49.3 kHz)
[    33.310] (II) XKB: reuse xkmfile /var/lib/xkb/server-93A39E9580D1D5B855D779F4595485C2CC66E0CF.xkm
[    34.900] (WW) intel(0): flip queue failed: Invalid argument
[    34.900] (WW) intel(0): Page flip failed: Invalid argument
[    34.900] (WW) intel(0): flip queue failed: Invalid argument
[    34.900] (WW) intel(0): Page flip failed: Invalid argument
[    34.913] (WW) intel(0): flip queue failed: Invalid argument
[    34.913] (WW) intel(0): Page flip failed: Invalid argument
[    34.913] (WW) intel(0): flip queue failed: Invalid argument
[    34.913] (WW) intel(0): Page flip failed: Invalid argument
[    34.926] (WW) intel(0): flip queue failed: Invalid argument
[    34.926] (WW) intel(0): Page flip failed: Invalid argument
[    34.926] (WW) intel(0): flip queue failed: Invalid argument
[    34.926] (WW) intel(0): Page flip failed: Invalid argument
[    35.501] (WW) intel(0): flip queue failed: Invalid argument
[    35.501] (WW) intel(0): Page flip failed: Invalid argument
[    35.501] (WW) intel(0): flip queue failed: Invalid argument
[    35.501] (WW) intel(0): Page flip failed: Invalid argument
[    41.519] [mi] Increasing EQ size to 512 to prevent dropped events.
[    42.079] (EE) intel(0): Detected a hung GPU, disabling acceleration.
[    42.079] (EE) intel(0): When reporting this, please include i915_error_state from debugfs and the full dmesg.
[    42.598] (II) intel(0): EDID vendor "LPL", prod id 307
[    42.598] (II) intel(0): Printing DDC gathered Modelines:
[    42.598] (II) intel(0): Modeline "1280x800"x0.0   69.30  1280 1328 1360 1405  800 803 809 822 -hsync -vsync (49.3 kHz)
[    51.052] (II) AIGLX: Suspending AIGLX clients for VT switch

I know im using the beta version so I'm not expecting it to work but does any one know what the problem may be or even why they Unity compatibility test is describing my video card as vmware when its an intel i915 and Ubuntu is running on the metal not virtualised. Unity 3D worked fine in 11.10

© Ask Ubuntu or respective owner

Related posts about unity

Related posts about 12.04